/**

 layui官网
 By 贤心

 */

/* 布局 */
.x-body {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}
.x-header {
	background: #393D49;
}
.x-main {
	display: flex;
	flex: 1;
}



.layui-nav .layui-nav-item a {
	padding: 0 15px;
}
.x-logo {
	padding-top: 10px;
	padding-bottom: 10px;
	float: left;
	font-size: 24px;
	line-height: 60px;
	padding-left: 15px;
	color: #f0f0f0;
}
.x-nav {
	margin-left: 220px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.x-header .layui-nav .layui-nav-item a {
	font-size: 16px;
	color: #f3f3f4;
}
.x-sidebar {
	border-right: 1px solid #ccc;
	background: #f3f3f4 !important;
}
.x-sidebar .layui-nav {
	background: #f3f3f4 !important;
}
.x-sidebar .layui-nav a {
	color: #222;
}
.layui-nav-itemed > a {
	background: #f2f2f2 !important;
	color: #222 !important;
	border: 1px solid #ccc;
	border-left: 5px solid rgb(0, 158, 148);
}

.x-breadcrumb {
	background: #f3f3f4;
	width: 100%;
	display: block;
	padding-left: 15px;
	line-height: 45px;
	height: 45px;
	border-bottom: 1px solid #ccc;
}
.x-content {
	width: 100%;
	position: relative;
}
/** 响应式（前期不作为重心） **/
@media screen and (max-width: 750px) {
	/** 表单 **/
	.layui-form-item .layui-form-label {
		text-overflow: ellipsis;
		overflow: hidden;
		white-space: nowrap;
	}
	.layui-form-item .layui-inline {
		display: block;
		margin-right: 0;
		margin-bottom: 20px;
		clear: both;
	}
	.layui-form-item .layui-inline:after {
		content: '\20';
		clear: both;
		display: block;
		height: 0;
	}
	.layui-form-item .layui-input-inline {
		display: block;
		float: none;
		left: -1px;
		width: auto;
		margin: 0 0 10px 112px;
	}
	.layui-form-item .layui-input-inline+ .layui-form-mid {
		margin-left: 110px;
		top: -5px;
		padding: 0;
	}
	.layui-form-item .layui-form-checkbox {
		margin-right: 5px;
		margin-bottom: 5px;
	}
	.x-logo {
		float: none;
		width: 100%;
	}
	.x-nav {
		margin-left: 0px;
	}
	.x-main {
		display: block;
	}
	.x-sidebar {
		width: 100%;
	}
	.x-content {
		width: 100%;
	}
	.x-header .layui-nav-item {
		width: 25%;
		text-align: center;
	}
	.x-header .layui-nav .layui-nav-item a {
		padding: 0
	}
}
